Skip to content

Do not print traceback warning text if debug is not a settable parameter#756

Merged
kmvanbrunt merged 1 commit intomasterfrom
no_debug
Aug 8, 2019
Merged

Do not print traceback warning text if debug is not a settable parameter#756
kmvanbrunt merged 1 commit intomasterfrom
no_debug

Conversation

@kmvanbrunt
Copy link
Copy Markdown
Member

No description provided.

@kmvanbrunt kmvanbrunt added this to the 0.9.17 milestone Aug 8, 2019
@kmvanbrunt kmvanbrunt self-assigned this Aug 8, 2019
Comment thread cmd2/cmd2.py
final_msg = ansi.style_error(final_msg)

if not self.debug:
if not self.debug and 'debug' in self.settable:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice little ruggedization

@kmvanbrunt kmvanbrunt merged commit c1c7cac into master Aug 8, 2019
@kmvanbrunt kmvanbrunt deleted the no_debug branch August 8, 2019 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants